package com.pos.clothes.service;

import com.pos.clothes.pojo.Norms;
import com.pos.clothes.pojo.Order;
import com.pos.clothes.pojo.Order_detail;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface OrderService {
    public List<Norms> searchNormByCode(Norms norms);
    //更改规格库存
    public Integer updateNorm(List<Norms> normsList);
    public Map<String,Float> calculation(List list,Float pay,int iddiscount);
    public int insertOrder(Order order);
    public Integer insertOrderDetails(List<Order_detail> orderDetailsList);
    public List<Order> getAllOrder();
    public List<Order_detail> getOrderDetail(int idorder);


}
